package com.gdut.simple.contract;

import com.gdut.simple.basic.IPresenter;
import com.gdut.simple.basic.IView;
import com.gdut.simple.data.entity.History;
import com.gdut.simple.data.entity.News;

import java.util.List;

public interface HistoryContract {

    interface View extends IView<Presenter> {

        List<History> getItemList();

        void refreshList();

        void showRefreshProgress();

        void hideRefreshProgress();
    }

    interface Presenter extends IPresenter {

        void load();

        void delete(History history);

        void clear();
    }
}
